from PySide6.QtSql import QSqlDatabase

print(QSqlDatabase.drivers())  # 输出可用驱动列表
